package com.qidian.mespro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.ProcessStep;
import com.qidianit.mes.pojo.Result;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface ProcessStepService {
    Result<PageInfo<ProcessStep>> selectProcessStepList(Long processId,int pageNum,int pageSize);

    Result<ProcessStep> selectByProcessStepId(Long id);

    Result<ProcessStep> addProcessStep(ProcessStep processStep);

    Result updateProcessStep(ProcessStep processStep);

    Result deleteProcessStepById(Long id);
}
